//
//  PersonFactory.h
//  FactoryDemo
//
//  Created by hs on 2017/7/13.
//  Copyright © 2017年 jiachen. All rights reserved.
//

#import <Foundation/Foundation.h>

extern NSString *TeacherClassName;
extern NSString *StudentClassName;

@class Person;
@interface PersonFactory : NSObject

+ (instancetype)initWithDictionary:(NSDictionary *)dictionary;
- (void)createObject:(NSString *)className compelete:(void (^)(Person *objc))callBlock;

@end
